package com.bachongLightNovel.message.service;

import com.bachongLightNovel.model.pojo.message.Message;
import com.bachongLightNovel.model.vo.message.MessageVo;

import java.util.List;

/**
 * @author vermouth
 */
public interface MessageService {

    /**
     * 获取当前登录用户的消息列表
     * @param :
     * @return Result
     * @author vermouth
     */
    List<MessageVo> getCurrentMessages();


    /**
     * 根据id删除此条消息
     * @param id:
     * @return Result
     * @author vermouth
     */
    void removeMessageById(Long id);

    /**
     * 向用户发送消息
     * @param message:
     * @return Result
     * @author vermouth
     */
    void sendMessage(Message message);
}
